<div id="navbar" ng-controller="navbarController as vm" ng-init="vm.checkLogin()">
    <nav class="navbar navbar-inverse navbar-fixed-top" ng-if="vm.isLogin">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Aeat</a>
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-left">
              <li ng-repeat="menu in vm.menus track by $index"><a ui-sref="{{menu.state}}">{{menu.displayName}}</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
               <li><a href="#">Hi, {{vm.sysuser}}</a></li>
               <li ng-click="vm.logout()"><a>Logout</a></li>
            </ul>
          </div>
       </div>
      </nav>
      <!--Notify-->
      <div id="notify">
        <a>
         <button class="btn btn-success" type="button"  onclick="hideNotify()">
            You have new Verify data.
            <span id="badge" class="badge"></span>
         </button>
        </a>
      </div>
</div>
